package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 热门景点：(PopularAttractions)表实体类
 *
 */
@TableName("`popular_attractions`")
@Data
@EqualsAndHashCode(callSuper = false)
public class PopularAttractions implements Serializable {

    // PopularAttractions编号
    @TableId(value = "popular_attractions_id", type = IdType.AUTO)
    private Integer popular_attractions_id;

    // 景点名称
    @TableField(value = "`scenic_spot_name`")
    private String scenic_spot_name;
    // 景点类型
    @TableField(value = "`types_of_tourist_attractions`")
    private String types_of_tourist_attractions;
    // 景点位置
    @TableField(value = "`location_of_tourist_attractions`")
    private String location_of_tourist_attractions;
    // 景点票价
    @TableField(value = "`scenic_spot_ticket_prices`")
    private Double scenic_spot_ticket_prices;
    // 开放时间
    @TableField(value = "`opening_hours`")
    private String opening_hours;
    // 景点图片
    @TableField(value = "`scenic_spot_pictures`")
    private String scenic_spot_pictures;
    // 景点简介
    @TableField(value = "`introduction_to_scenic_spots`")
    private String introduction_to_scenic_spots;
    // 路线规划
    @TableField(value = "`route_planning`")
    private String route_planning;
    // 景点攻略
    @TableField(value = "`tourist_attraction_guide`")
    private String tourist_attraction_guide;


    // 点赞数
    @TableField(value = "praise_len")
    private Integer praise_len;

    // 收藏数
    @TableField(value = "collect_len")
    private Integer collect_len;

    // 评论数
    @TableField(value = "comment_len")
    private Integer comment_len;
















					


	// 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
